home *** CD-ROM | disk | FTP | other *** search
- <!--script to sniff for browser and version it is useful if you want to redirect users based on browser-->
- <!--john b. active development 2000-->
- <!--just cut and paste this it should work fine-->
- <script language="javascript">
- <!--
- var a;
-
- manufacturer=navigator.appName;
- version=navigator.appVersion;
- if (manufacturer.indexOf('Netscape')>=0 && version.indexOf('4.0')>=0)
- {
- location.href="some file.asp";
-
- }
-
- if (version.indexOf('3.0')>=0)
- {
- alert("Your Browser Cant Handle This Dynamic Site, Please Download a Version 4 Browser");
- }
- //-->
- </script>